package com.cennavi.mm.service;

import java.io.Serializable;

public class CaPathLink implements Serializable{
	/** */
	private static final long serialVersionUID = 1L;
	String id;
	double width;
	double length;
	int speedlimit;
	int direction;
	String kind;
	String roadclass;
	//方向
	private double azimuth;
	
    private String sNodeid;
	
	private String eNodeid;
	
	public String getsNodeid() {
		return sNodeid;
	}
	public void setsNodeid(String sNodeid) {
		this.sNodeid = sNodeid;
	}
	public String geteNodeid() {
		return eNodeid;
	}
	public void seteNodeid(String eNodeid) {
		this.eNodeid = eNodeid;
	}
	
	public CaPathLink(String id, double width, double length, int speedlimit,
			int direction, String kind, String roadclass, double azimuth) {
		this.id = id;
		this.width = width;
		this.length = length;
		this.speedlimit = speedlimit;
		this.direction = direction;
		this.kind = kind;
		this.roadclass = roadclass;
		this.azimuth = azimuth;
	}

	public String getId() {
		return id;
	}

	public double getWidth() {
		return width;
	}

	public double getLength() {
		return length;
	}

	public double getSpeedlimit() {
		return speedlimit;
	}

	public int getDirection() {
		return direction;
	}

	public String getKind() {
		return kind;
	}

	public String getRoadclass() {
		return roadclass;
	}
	/** 
	 * @return azimuth 
	 */
	public double getAzimuth() {
		return azimuth;
	}
	/**
	 * @param azimuth the azimuth to set
	 */
	public void setAzimuth(double azimuth) {
		this.azimuth = azimuth;
	}	
	
	
}
